import React, { useEffect } from 'react';
import Card from '@/components/CardSelect';
import Management from './components/management';
import { connect } from 'umi';
import './index.less';
const internalManagement = (props) => {
  const tabList = [
    { key: 'management', tab: '员工管理' },
    { key: 'setting', tab: '权限配置' },
  ];
  const contentList = {
    management: <Management></Management>,
  };
  return <Card contentList={contentList} selectList={tabList}></Card>;
};
export default connect(({ system, loading }) => ({
  ...system,
  loading: loading.models.system,
}))(internalManagement);
